package xcmg.device.dao.mapper.order;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.order.SubcontractingOrderDO;
import xcmg.device.service.vo.order.SubcontractingOrderVO;

import java.util.List;

/**
 * 转包单head表 Mapper
 */
@Mapper
public interface SubcontractingOrderMapper {

    List<SubcontractingOrderVO> queryList(@Param(value = "wrap") SubcontractingOrderVO wrap);

    int save(SubcontractingOrderDO model);

    int updateNotNullByPrimaryKeySelective(SubcontractingOrderDO bean);

    int deleteByPrimaryKeySelective(String id);

    List<Long> checkAbleToCreateZbd(@Param(value = "orderId")  Long orderId);
}

